package reflection.dproxy.simplelog;

public class SimpleUserService implements UserService {

    /* (non-Javadoc)
     * @see reflection.dproxy.simplelog.UserService#get(java.lang.Long)
     */
    @Override
    public User get(Long id) {
        System.out.println("Creating user...");
        return new User();
    }

    /* (non-Javadoc)
     * @see reflection.dproxy.simplelog.UserService#del(java.lang.Long)
     */
    @Override
    public void del(Long id) {
        System.out.println("User was deleted.");
    }

    /* (non-Javadoc)
     * @see reflection.dproxy.simplelog.UserService#add(reflection.dproxy.simplelog.User)
     */
    @Override
    public void add(User user) {
        System.out.println("User was added");
    }

    /* (non-Javadoc)
     * @see reflection.dproxy.simplelog.UserService#update(reflection.dproxy.simplelog.User)
     */
    @Override
    public void update(User user) {
        System.out.println("User was updated");
    }
}
